package com.magic233.mapper;

import com.magic233.entity.Orders;
import com.magic233.entity.Workers;

import java.util.List;

public interface WorkersMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Workers record);

    int insertSelective(Workers record);

    Workers selectByPrimaryKey(Long id);

    Workers selectByPrimaryKey2(Long id);

    int updateByPrimaryKeySelective(Workers record);

    int updateByPrimaryKey(Workers record);

    //查询未被逻辑删除的工人
    List<Workers> selectWorkers();
}
